/**
 * 
 */
package ch.comtools.servermanager.ssh.ui.preference;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;

import ch.comtools.jsch.Activator;

/**
 * @author Roger Dudler <roger.dudler@gmail.com>
 * @version $Id$
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/**
	 * 
	 */
	public PreferenceInitializer() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public void initializeDefaultPreferences() {
		IEclipsePreferences preferences = new DefaultScope().getNode(Activator.PLUGIN_ID);
		
		// properties
		preferences.put("ssh.host.address", "127.0.0.1");
		
		// flags
		preferences.putBoolean("ssh.strictHostKeyChecking", false);
		
	}

}
